import request from '@/utils/request'

const tzgg = {
  list(params) {
    return request.get("/system/sysNotice/list", {params})
  },
  add(data) {
    return request.post("/system/sysNotice/add", data)
  },
  update(data) {
    return request.post("/system/sysNotice/update", data)
  },
  get(id) {
    return request.get(`/system/sysNotice/detail/${id}`)
  },
  del(id) {
    return request.post(`/system/sysNotice/delete/${id}`)
  },
  helpList(params) {
    return request.get("/system/sysHelp/list", {params})
  },
  helpAdd(data) {
    return request.post("/system/sysHelp/add", data)
  },
  helpUpdate(data) {
    return request.post("/system/sysHelp/update", data)
  },
  helpGet(id) {
    return request.get(`/system/sysHelp/detail/${id}`)
  },
  helpDel(id) {
    return request.post(`/system/sysHelp/delete/${id}`)
  },
}

export default tzgg;
